.demo1-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  font-family: Arial, sans-serif;
}

.demo1-title {
  text-align: center;
  color: #333;
  margin-bottom: 30px;
}

.demo1-section {
  margin-bottom: 40px;
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background-color: #f9f9f9;
}

.demo1-description {
  color: #666;
  margin-bottom: 15px;
}

.demo1-example {
  padding: 15px;
  background-color: white;
  border-radius: 4px;
  border: 1px solid #eee;
}

.hello-world {
  color: #4caf50;
  font-size: 24px;
  text-align: center;
}

.props-demo {
  padding: 15px;
}

.props-demo h3 {
  margin-top: 0;
  color: #2196f3;
}

.props-demo ul {
  padding-left: 20px;
}

.counter {
  text-align: center;
  padding: 15px;
}

.counter-value {
  font-size: 36px;
  font-weight: bold;
  color: #ff5722;
  margin: 15px 0;
}

.counter-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.counter-button {
  padding: 8px 16px;
  background-color: #2196f3;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
}

.counter-button:hover {
  background-color: #0b7dda;
}

.lifecycle-demo {
  padding: 15px;
}

.lifecycle-controls {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
}

.lifecycle-button {
  padding: 8px 16px;
  background-color: #9c27b0;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.lifecycle-button:hover {
  background-color: #7b1fa2;
}

.lifecycle-log {
  background-color: #f5f5f5;
  border: 1px solid #ddd;
  padding: 10px;
  height: 150px;
  overflow-y: auto;
  font-family: monospace;
  font-size: 14px;
}

.lifecycle-log p {
  margin: 5px 0;
  padding: 3px 0;
}

.lifecycle-log .mount {
  color: #4caf50;
}

.lifecycle-log .update {
  color: #2196f3;
}

.lifecycle-log .unmount {
  color: #f44336;
} 